name = "更好的背包(Better Backpack)"
description = [[
由摆烂制作,参考了大背包的源码
一个支持多项配置功能的背包,名字叫超级背包,零科技即可制作.
支持配置背包容量,保鲜倍率,行走速度增幅,光亮,装备恢复效果等.
配方: 20金块,10猪皮,5啜食者皮,5牛毛,5绳子,1眼球伞,1暖石
]]
author = "摆烂"
version = "0.20"

api_version = 10
dst_compatible = true
all_clients_require_mod = true
client_only_mod = false
server_filter_tags = {"Better Backpack", "bigbag"}

forumthread = ""
icon_atlas = "modicon.xml"
icon = "modicon.tex"

configuration_options = {
	{
		name = "LANGUAGE",
		label = "Language (语言)",
		hover = "Change display language.",
		options = {
			{ description = "简体中文", data = 0, },
			{ description = "English", data = 1, },
		},
		default = 0,
	},
	{
		name = "SLOT",
		label = "背包大小",
		hover = "超级背包的容量",
		options = {
			{ description = "14格(7*2)",  data = 0, },
			{ description = "16格(8*2)",  data = 1, },
			{ description = "18格(9*2)",  data = 2, },
            { description = "20格(10*2)", data = 3, },
            { description = "30格(10*3)", data = 4, },
            { description = "50格(10*5)", data = 5, },
            { description = "64格(8*8)",  data = 6, },
		},
		default = 0,
	},
	{
		name = "FRESH",
		label = "保鲜 (FRESH)",
		hover = "让超级背包具有保鲜功能(Let the bag have a fridge function.)",
		options = {
			{ description = "默认(正常两倍)", data = 0.5, },
			{ description = "中等(正常四倍)", data = 0.25, },
			{ description = "强(正常五倍)", data = 0.2, },
            { description = "超强(正常十倍)", data = 0.1, },
            { description = "永久保鲜", data = 0, },
            { description = "缓慢反鲜", data = -0.1, },
            { description = "急速反鲜", data = -10, },
		},
		default = 0.5,
	},
	{
		name = "TEMPLATURE",
		label = "智能调控体温 (TEMPLATURE)",
		hover = "让超级背包维持你的体温(Let the bag maintain your body temperature.)",
		options = {
			{ description = "默认(关)", data = 0, },
            { description = "恒温(维持正常体温)", data = 1, },
		},
		default = 0,
	},
	{
		name = "LIGHT",
		label = "光照 (Light)",
		hover = "让超级背包发光(Let the bag give off light.)",
		options = {
			{ description = "默认(关)", data = 0, },
			{ description = "微弱", data = 1, },
			{ description = "普通", data = 2, },
            { description = "明亮", data = 3, },
            { description = "高亮", data = 4, },
            { description = "超级亮", data = 5, },
            { description = "最亮", data = 6, },
		},
		default = 0,
	},
	{
		name = "WALLKSPEED",
		label = "行走速度 (FRESH)",
		hover = "背上超级背包后的行走速度()",
		options = {
			{ description = "默认(减缓25%移速)", data = 0.75, },
			{ description = "不变(不改变移速)", data = 1, },
			{ description = "步伐轻盈(增加30%移速)", data = 1.3, },
            { description = "超快(增加50%移速)", data = 1.5, },
		},
		default = 0.75,
	},
    {
        name = "REGENERATION",
        label = "恢复效果 (Regeneration)",
        hover = "让超级背包具有缓慢恢复生命值、饥饿度和理智值的功能。",
        options = {
            { description = "默认(关)", data = false, },
            { description = "开启", data = true, },
        },
        default = false,
    },
    {
        name = "HEALTH_REGEN",
        label = "生命值恢复量 (Health Regen)",
        hover = "每次恢复的生命值。",
        options = {
            { description = "0", data = 0, },
            { description = "1", data = 1, },
            { description = "2", data = 2, },
            { description = "5", data = 5, },
            { description = "10", data = 10, },
            { description = "15", data = 15, },
            { description = "20", data = 20, },
            { description = "30", data = 30, },
            { description = "50", data = 50, },
        },
        default = 0,
    },
    {
        name = "HUNGER_REGEN",
        label = "饥饿度恢复量 (Hunger Regen)",
        hover = "每次恢复的饥饿度。",
        options = {
            { description = "0", data = 0, },
            { description = "1", data = 1, },
            { description = "2", data = 2, },
            { description = "5", data = 5, },
            { description = "10", data = 10, },
            { description = "15", data = 15, },
            { description = "20", data = 20, },
            { description = "30", data = 30, },
            { description = "50", data = 50, },
        },
        default = 0,
    },
    {
        name = "SANITY_REGEN",
        label = "理智值恢复量 (Sanity Regen)",
        hover = "每次恢复的理智值。",
        options = {
            { description = "0", data = 0, },
            { description = "1", data = 1, },
            { description = "2", data = 2, },
            { description = "5", data = 5, },
            { description = "10", data = 10, },
            { description = "15", data = 15, },
            { description = "20", data = 20, },
            { description = "30", data = 30, },
            { description = "50", data = 50, },
        },
        default = 0,
    },
    {
        name = "HEALTH_REGEN_INTERVAL",
        label = "生命值恢复间隔 (Health Regen Interval)",
        hover = "生命值恢复的间隔时间（秒）。",
        options = {
            { description = "1秒", data = 1, },
            { description = "2秒", data = 2, },
            { description = "3秒", data = 3, },
            { description = "5秒", data = 5, },
            { description = "10秒", data = 10, },
            { description = "20秒", data = 20, },
            { description = "50秒", data = 50, },
        },
        default = 5,
    },
    {
        name = "HUNGER_REGEN_INTERVAL",
        label = "饥饿度恢复间隔 (Hunger Regen Interval)",
        hover = "饥饿度恢复的间隔时间（秒）。",
        options = {
            { description = "1秒", data = 1, },
            { description = "2秒", data = 2, },
            { description = "3秒", data = 3, },
            { description = "5秒", data = 5, },
            { description = "10秒", data = 10, },
            { description = "20秒", data = 20, },
            { description = "50秒", data = 50, },
        },
        default = 5,
    },
    {
        name = "SANITY_REGEN_INTERVAL",
        label = "理智值恢复间隔 (Sanity Regen Interval)",
        hover = "理智值恢复的间隔时间（秒）。",
        options = {
            { description = "1秒", data = 1, },
            { description = "2秒", data = 2, },
            { description = "3秒", data = 3, },
            { description = "5秒", data = 5, },
            { description = "10秒", data = 10, },
            { description = "20秒", data = 20, },
            { description = "50秒", data = 50, },
        },
        default = 5,
    },
}
